package de.lns.level;
/**
 * 
 * @author Frederick Hastedt
 *
 */
public class Triangle implements Shapes{
	/**
	 * 
	 * @param ax: corner A, X coordinate
	 * @param ay: corner A, Y coordinate
	 * @param bx: corner B, X coordinate
	 * @param by: corner B, Y coordinate
	 * @param cx: corner C, X coordinate
	 * @param cy: corner C, Y coordinate
	 */
	public Triangle(double ax, double ay, double bx, double by, double cx, double cy){
		cornerAX = ax;
		cornerAY = ay;
		cornerBX = bx;
		cornerBY = by;
		cornerCX = cx;
		cornerCY = cy;
		
	}
	
	private double cornerAX;
	private double cornerAY;
	
	private double cornerBX;
	private double cornerBY;
	
	private double cornerCX;
	private double cornerCY;
	
	/**
	 * 
	 * @return corner A, X coordinate
	 */
	public double getCornerAX() {
		return cornerAX;
	}
	
	/**
	 * 
	 * @return corner A, Y coordinate
	 */
	public double getCornerAY() {
		return cornerAY;
	}
	
	/**
	 * 
	 * @return corner B, X coordinate
	 */
	public double getCornerBX() {
		return cornerBX;
	}
	
	/**
	 * 
	 * @return corner B, Y coordinate
	 */
	public double getCornerBY() {
		return cornerBY;
	}
	
	/**
	 * 
	 * @return corner C, X coordinate
	 */
	public double getCornerCX() {
		return cornerCX;
	}
	
	/**
	 * 
	 * @return corner C, Y coordinate
	 */
	public double getCornerCY() {
		return cornerCY;
	}
	
}